using System.Data.Entity.ModelConfiguration;
using Nop.Plugin.Remote.Vishnu.Domain;

namespace Nop.Plugin.Remote.Vishnu.Data
{
    public partial class OrderFlagRecordMap : EntityTypeConfiguration<OrderFlagRecord>
    {
        public OrderFlagRecordMap()
        {
            this.ToTable("OrderFlag");
            this.HasKey(of => of.Id);
            this.Property(of => of.OrderId).IsRequired();
            this.Property(of => of.FlaggedBy).HasMaxLength(100);
            this.Property(of => of.ExportedBy).HasMaxLength(100);
        }
    }
}